package top.yunmouren.atom.jcef;

import com.mojang.logging.LogUtils;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import org.slf4j.Logger;
import top.yunmouren.jcef.Lib_library_initialization;

@Mod("atom_jcef")
public class jcef {
    private static final Logger LOGGER = LogUtils.getLogger();

    public jcef() {
        new Lib_library_initialization();
        FMLJavaModLoadingContext.get().getModEventBus().addListener(this::setup);
        MinecraftForge.EVENT_BUS.register(this);
    }

    private void setup(final FMLCommonSetupEvent event) {
        LOGGER.info("Atom : JCEF setup complete");
    }
}
